@import 'common';
#container {
    position: relative;
    background-color: #f1f1f1;
    padding-top: 50px;
    .content {
        width: 100%;
        max-width: 1260px;
        margin: 0 auto;
        #guide {
            padding-top: 15px;
            .group {
                height: 50px;
                border-bottom: 1px solid #D8D8D8;
                ul {
                    margin-bottom: 0;
                    li {
                        float: left;
                        position: relative;
                        margin-right: 20px;
                        font-size: 14px;
                        width: 130px;
                        height: 50px;
                        a {
                            color: #666;
                            display: block;
                            padding: 11px 10px 16px;
                            &:hover {
                                text-decoration: none;
                            }
                            i {
                                display: inline-block;
                            }
                            .screde1 {
                                position: relative;
                                display: inline-block;
                                height: 10px;
                                width: 10px;
                                transition: all 0.7s;
                                .screde {
                                    height: 0;
                                    width: 0;
                                    border: 5px solid transparent;
                                    border-top: 5px solid #555555;
                                    transition: all 1s;
                                    position: absolute;
                                    top: 2.5px;
                                    right: 0;
                                }
                            }
                        }
                        .current {
                            transition: none;
                            width: 110px;
                            text-align: center;
                        }
                        &:hover .screde1 {
                            transform: rotate(-180deg);
                        }
                        &:hover {
                            background: white;
                            box-shadow: 1px 2px 2px rgba(0,0,0,0.2);
                            border-radius: 0 0 6px 6px;
                        }
                        &:hover .sub {
                            display: block;
                        }
                        .sub {
                            display: none;
                            position: absolute;
                            left: 0;
                            top: 44px;
                            z-index: 99;
                            width: 130px;
                            box-shadow: 1px 2px 2px rgba(0,0,0,0.2);
                            background-color: #fff;
                            overflow: hidden;
                            border-radius: 0 0 6px 6px;
                            li {
                                float: none;
                                margin: 0;
                                font-size: 12px;
                                height: inherit;
                                transition: all 0.5s;
                                &:hover {
                                    background: #00c3b6;
                                }
                                &:hover a {
                                    color: white;
                                }
                                a {
                                    padding: 12px 10px;
                                    text-indent: 20px;
                                    transition: all 0.6s;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    //cool
    #cool {
        margin: 30px auto;
        .content {
            width: 1260px;
            max-width: 1260px;
            margin: auto;
            .drid-ul {
                margin: auto -10px;
                height: auto;
                text-align: justify;
                overflow: hidden;
                .grid-wraper {
                    float: left;
                    width: 640px;
                    li {
                        float: left;
                        width: 320px;
                        margin-bottom: 30px;
                        position: relative;
                        .item {
                            margin: auto 10px;
                            background-color: #FFF;
                            box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
                            overflow: hidden;
                            position: relative;
                            border: 10px solid #FFF;
                            border-bottom: 0 none;
                            .thumb {
                                line-height: 1;
                                text-align: center;
                                width: 280px;
                                height: 180px;
                                overflow: hidden;
                                transition: 0.15s all linear;
                                color: #FFF;
                                box-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
                            }
                            .meta {
                                padding: 0 5px;
                                .title {
                                    a {
                                        color: #444;
                                        font-size: 12px;
                                        display: block;
                                        overflow: hidden;
                                        text-overflow: ellipsis;
                                        white-space: nowrap;
                                        transition: all 1s;
                                    }
                                }
                                .extra {
                                    position: absolute;
                                    left: 0;
                                    top: 0;
                                    height: auto;
                                    overflow: hidden;
                                    width: 100%;
                                    background-color: #222;
                                    color: #FFF;
                                    margin: 0;
                                    padding: 8px 10px;
                                    box-sizing: border-box;
                                    transform: translateY(-50px);
                                    transition: all 0.3s;
                                    i {
                                        margin-right: 4px;
                                    }
                                    a {
                                        color: rgba(255, 255, 255, 0.9);
                                        transition: all 0.3s;
                                        &:hover {
                                            color: #00C3B6;
                                            text-decoration: none;
                                        }
                                    }
                                    span {
                                        float: right;
                                        margin-left: 8px;
                                        i {
                                            margin-right: 0;
                                            margin-left: 4px;
                                        }
                                    }
                                }
                            }
                            .data {
                                border-top: 1px solid #f2f2f2;
                                padding: 10px 5px;
                                color: #999;
                                span {
                                    float: right;
                                    margin-left: 10px;
                                    i {
                                        margin-right: 4px;
                                    }
                                }
                                a {
                                    color: #999;
                                    &:hover {
                                        color: #00C3B6;
                                        text-decoration: none;
                                    }
                                }
                            }
                        }
                        &:hover .meta .title .meta-title-item {
                            text-decoration: none;
                            color: #00C3B6;
                        }
                        &:hover .thumb img {
                            margin-top: 20px;
                        }
                        &:hover .meta .extra {
                            top: 50px;
                        }
                    }
                }
            }
            #cncw-page {
                text-align: center;
                margin-top: 5px;
                height: 40px;
                li {
                    list-style: none;
                    display: inline-block;
                    background: white;
                    padding: 8px 13px;
                    border-radius: 5px;
                    input {
                        border: 0;
                    }
                    &:hover:not(.up-page):not(.active-no) {
                        background: #00C3B6;
                        border-color: 1px solid seagreen;
                        color: white;
                    }
                }
                .box-shadow {
                    box-shadow: 1px 1px 1px 1px #E3E3E3;
                }
                li:first-child {
                    margin-left: 0;
                }
                .actived {
                    background: #00C3B6;
                    color: white;
                }
                .active-no {
                    border: 0;
                }
            }
        }
    }
    .recommend {
        overflow: hidden;
        text-align: center;
        margin: 20px auto;
        line-height: 1;
    }
}
@media only screen and (min-width: 768px) and (max-width:1024px) {
    #container {
        .content {
            #guide {
                width: 96%;
                margin: auto auto 20px;
            }
        }
        #cool {
            .content {
                width: 100%;
                .drid-ul {
                    .grid-wraper {
                        float: none;
                        margin: auto;
                    }
                }
            }
        }
    }
}
@media only screen and (min-width: 400px) and (max-width:768px) {
    #container {
        .content {
            #guide {
                width: 96%;
                margin: auto auto 20px;
            }
        }
        #cool {
            margin-top: 0;
            .content {
                width: 100%;
                .drid-ul {
                    .grid-wraper {
                        width: 100%;
                        float: none;
                        margin: auto;
                        li{
                            float: none;
                            margin:20px auto;
                        }
                    }
                }
            }
        }
    }
}
@media only screen and (max-width: 500px) {
    #container {
        .content {
            #guide {
                width: 96%;
                margin: auto auto 20px;
            }
        }
        #cool {
            margin-top: 0;
            .content {
                width: 100%;
                .drid-ul {
                    width: 100%;
                    .grid-wraper {
                    overflow: initial;
                        width: 100%;
                        float: none;
                        margin: auto;
                        li{
                            float: none;
                            margin:20px auto;
                        }
                    }
                }
            }
        }
        .footer{
            display: none;
        }
    }
}